//settings

$.cmsAdminOptions({
    fileUploaderOptions: {
        supportedRuntimes: "html5,flash,silverlight,html4",
        flashHandlerUrl: "/admin/assets/etc/plupload.flash.swf",
        silverlightHandlerUrl: "/admin/assets/etc/plupload.silverlight.xap",
        uploadUrl: "/admin/cmsmediacontent/uploadfile",
        maxFileSize: "100mb",
        chunkSize: "1mb",
        imageTypeExtensions: "jpg,gif,png",
        videoTypeExtensions: "ogv,webm,mp4",
        docTypeExtensions: "doc,docx,pdf",
        archiveTypeExtensions: "zip"
    },
    fileViewOpions: {
        templateViewUrl: "/admin/cmstemplate/filesystemview",
        pageViewUrl: "/admin/cmspage/filesystemview",
        uploadPreviewHeight: 96,
        uploadPreviewWidth: 96
    },
    knownUrls: {
        newMediaFolderUrl: "/admin/cmsmedia/createnewfolder",
        createNewMediaFolderUrl: "/admin/cmsmedia/add",
        mediaPreviewPath: "/admin/assets/images/360/icons",
        previewMediaUrl: "/admin/media",
        allMediaContentTagsUrl: "/admin/cmsmediacontenttag/alltags",
        createMediaContentUrl: "/admin/cmsmediacontent/add",
        editPageUrl: "/admin/cmspage/edit",
        viewPageUrl: "/admin/cmspage/view",
        previewPageUrl: "/admin/cmspage/preview",
        pageControlsUrl: "/admin/cmspage/pagecontrols",
        pageControlAddPartialViewUrl: "/admin/cmspage/addpartialview",
        pageControlAddActionViewUrl: "/admin/cmspage/addactionview",
        pageControlSaveUrl: "/admin/cmspagecontrol/save",
        pageAnnotationsUrl: "/admin/cmspage/annotations",
        pageTreeHistoryUrl: "/admin/cmspage/changepagetree",
        workflowViewPageUrl: "/admin/cmspage/workflowitem",
        contentItemsUrl: "/admin/cmscontent/getitems",
        switchSiteUrl: "/admin/cmsaccount/switchsite",
        startWorkflowMultiUrl: "/admin/cmsworkflow/startworkflow",
        deleteMultiUrl: "/admin/cmsworkflow/massdelete",
        withdrawMultiUrl: "/admin/cmsworkflow/withdraw",
        siteWorkflowPanelUrl: "/admin/cmsadminhome/siteworkflowpanel",
        pageIndexUrl: "/admin/cmspage/",
        reconnectUrl: "/admin/cmspage/reconnect/",
        getTelerikEditor: "/admin/cmspage/addtelerikeditor/",
        mediaPickerUrl: "/admin/mediapicker",
        mediaPickerLoadUrl: "/admin/mediapicker/load",
        mediaPickerBrowseUrl: "/admin/mediapicker/browse",
        mediaPickerSaveMediaContentUrl: "/admin/mediapicker/savemediacontent"
    }
});